<template>
  <section class="chart-container">
    <div class="c_header">
      <tongji></tongji>
    </div>
  </section>
</template>


<script>
import tongji from '~/components/common/tongji.vue';

export default {
  data() {
    return {
      username: localStorage.getItem('username'),
      resdate: localStorage.getItem('resdate'),
    };
  },
  components: {
    tongji,
  },
  methods: {
    exit() {
      this.$confirm('确认注销登录?', '提示', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning',
      }).then(() => {
        this.$message({
          type: 'success',
          message: '注销成功!',
        });
        this.$router.push('login');
      }).catch(() => {
        this.$message({
          type: 'info',
          message: '已取消',
        });
      });
    },
  },
};
</script>

<style lang="stylus" scoped>
.el-breadcrumb
  height 60px
  line-height 60px
</style>
